package com.ruoyi.dynamic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.dynamic.model.pojo.entity.RoomSet;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomSetUpdateRequest;
import com.ruoyi.dynamic.model.pojo.result.app.AppRoomSetResult;

/**
 * <p>
 * 主播房间设置 服务类
 * </p>
 *
 * @author ${author}
 * @since 2024-12-13
 */
public interface IRoomSetService extends IService<RoomSet> {


    /**
     * 获取主播房间设置
     * @param userId
     * @return
     */
    AppRoomSetResult getUserRoomSet(Long userId);


    /**
     * 更新房间设置
     */
    AppRoomSetResult updateRoomSet(Long userId, AppRoomSetUpdateRequest request);

    /**
     * 房间设置提问礼物
     */
    AppRoomSetResult setGift(Long userId, Long giftId);


    /**
     * 获取房间设置
     */
    RoomSet getOneByUser(Long userId);


    AppRoomSetResult getRoomSet(RoomSet roomSet);
}
